package com.rpcdemo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * java中成熟好用的rpc，还是dubbo,故本例作为其client
 * rpc在java中的实现方式，多是生成一个代理对象
 * 然后调用代理对象的方法
 */
@SpringBootApplication
@EnableFeignClients

public class RpcdemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(RpcdemoApplication.class, args);
    }

}
